﻿using AutoMapper;
using S.Produce.Api.Application.Commands.HistoryCommands;
using S.Produce.Domains;

namespace S.Produce.Api.Extensions
{
    /// <summary>
    /// automapper
    /// </summary>
    public class HistoryProfile : Profile
    {
        public HistoryProfile()
        {
            CreateMap<HistoryCreateCommand, History>().ReverseMap();
        }
    }
}
